
import { getNetParams, getQueryVariable } from "../GlobalFunction";
import { NetManager } from "../Managers/NetManager";
import { hex_md5 } from "../utils/Md5";
import { IPlatform } from "./IPlatform";
import PlatformManager from "./PlatformManager";


export enum QhChannelEnum {
    CHANNEL_4399 = "app4399"
}

export default class BasePlatform implements IPlatform {
    sdk: any;
    openId: any;
    platForm: string;
    /**渠道 */
    qhchannel: string;
    serverid: number;
    ecid: string;
    query: string = "";
    token: string = "";
    initSdk(): void {

    }
    login(): void {

    }
    /**看广告 */
    createAd(obj: any) {

    }

    /**
     * act 1=创建角色，2=登录角色，3=角色升级
     * 角色上报接口
     * */
    role(data: any) {

    }

    pay(value: any): Promise<void> {
        return undefined!
    }

    checkWord(wordstr: string, cb: Function) {

    }

    reloadUrl() {

    }

}